<template>
  <div class="index">
    <TopInner :coverImg="coverImgUrl">
      <div class="blog_title">Skygray's Blog</div>
      <div class="blog_autograph">个性签名</div>
    </TopInner>
    <article class="main_article">
      <WaterFall :items="blogs" />
    </article>
  </div>
</template>

<script>
import TopInner from "../components/TopInner.vue";
import WaterFall from "../components/WaterFall.vue";
export default {
  name: "Index",
  components: {
    TopInner,
    WaterFall,
  },
  data() {
    return {
      coverImgUrl:
        "http://81.68.226.147:743/images/2022/01/27/innerBackground1.jpg",
      blogs: [
        {
          id: 1,
          coverImg: "http://source.unsplash.com/random/400x600",
          time: "2022-1-25",
          title: "Title Goes Here",
          description:
            "Lorem, ipsum dolor sit amet consectetur adipisicing elit. Quis quod etdeleniti nobis quasi ad, adipisci perferendis totam, ducimus incidunt dolore aut, quae quaerat architecto quisquam repudiandae amet nostrum quidem?",
          seeing: 2000,
          talking: 200,
          auther: {
            autherImg:
              "https://gimg2.baidu.com/image_search/src=http%3A%2F%2Fimg.wangyunw.com%2Ffile%2F20170324%2Fimages%2F63918611ly1fdoygy62ydj20b40b43yj.jpg&refer=http%3A%2F%2Fimg.wangyunw.com&app=2002&size=f9999,10000&q=a80&n=0&g=0n&fmt=jpeg?sec=1645696478&t=96c4eecc42d8315657b21207fb96d0c5",
            autherName: "skygray",
          },
        },
        {
          id: 1,
          coverImg: "http://source.unsplash.com/random/400x600",
          time: "2022-1-25",
          title: "Title Goes Here",
          description:
            "Lorem, ipsum dolor sit amet consectetur adipisicing elit. Quis quod etdeleniti nobis quasi ad, adipisci perferendis totam, ducimus incidunt dolore aut, quae quaerat architecto quisquam repudiandae amet nostrum quidem?",
          seeing: 2000,
          talking: 200,
          auther: {
            autherImg:
              "https://gimg2.baidu.com/image_search/src=http%3A%2F%2Fimg.wangyunw.com%2Ffile%2F20170324%2Fimages%2F63918611ly1fdoygy62ydj20b40b43yj.jpg&refer=http%3A%2F%2Fimg.wangyunw.com&app=2002&size=f9999,10000&q=a80&n=0&g=0n&fmt=jpeg?sec=1645696478&t=96c4eecc42d8315657b21207fb96d0c5",
            autherName: "skygray",
          },
        },
        {
          id: 1,
          coverImg: "http://source.unsplash.com/random/400x600",
          time: "2022-1-25",
          title: "Title Goes Here",
          description:
            "Lorem, ipsum dolor sit amet consectetur adipisicing elit. Quis quod etdeleniti nobis quasi ad, adipisci perferendis totam, ducimus incidunt dolore aut, quae quaerat architecto quisquam repudiandae amet nostrum quidem?",
          seeing: 2000,
          talking: 200,
          auther: {
            autherImg:
              "https://gimg2.baidu.com/image_search/src=http%3A%2F%2Fimg.wangyunw.com%2Ffile%2F20170324%2Fimages%2F63918611ly1fdoygy62ydj20b40b43yj.jpg&refer=http%3A%2F%2Fimg.wangyunw.com&app=2002&size=f9999,10000&q=a80&n=0&g=0n&fmt=jpeg?sec=1645696478&t=96c4eecc42d8315657b21207fb96d0c5",
            autherName: "skygray",
          },
        },
        {
          id: 1,
          coverImg: "http://source.unsplash.com/random/400x600",
          time: "2022-1-25",
          title: "Title Goes Here",
          description:
            "Lorem, ipsum dolor sit amet consectetur adipisicing elit. Quis quod etdeleniti nobis quasi ad, adipisci perferendis totam, ducimus incidunt dolore aut, quae quaerat architecto quisquam repudiandae amet nostrum quidem?",
          seeing: 2000,
          talking: 200,
          auther: {
            autherImg:
              "https://gimg2.baidu.com/image_search/src=http%3A%2F%2Fimg.wangyunw.com%2Ffile%2F20170324%2Fimages%2F63918611ly1fdoygy62ydj20b40b43yj.jpg&refer=http%3A%2F%2Fimg.wangyunw.com&app=2002&size=f9999,10000&q=a80&n=0&g=0n&fmt=jpeg?sec=1645696478&t=96c4eecc42d8315657b21207fb96d0c5",
            autherName: "skygray",
          },
        },
        {
          id: 1,
          coverImg: "http://source.unsplash.com/random/400x600",
          time: "2022-1-25",
          title: "Title Goes Here",
          description:
            "Lorem, ipsum dolor sit amet consectetur adipisicing elit. Quis quod etdeleniti nobis quasi ad, adipisci perferendis totam, ducimus incidunt dolore aut, quae quaerat architecto quisquam repudiandae amet nostrum quidem?",
          seeing: 2000,
          talking: 200,
          auther: {
            autherImg:
              "https://gimg2.baidu.com/image_search/src=http%3A%2F%2Fimg.wangyunw.com%2Ffile%2F20170324%2Fimages%2F63918611ly1fdoygy62ydj20b40b43yj.jpg&refer=http%3A%2F%2Fimg.wangyunw.com&app=2002&size=f9999,10000&q=a80&n=0&g=0n&fmt=jpeg?sec=1645696478&t=96c4eecc42d8315657b21207fb96d0c5",
            autherName: "skygray",
          },
        },
        {
          id: 1,
          coverImg: "http://source.unsplash.com/random/400x600",
          time: "2022-1-25",
          title: "Title Goes Here",
          description:
            "Lorem, ipsum dolor sit amet consectetur adipisicing elit. Quis quod etdeleniti nobis quasi ad, adipisci perferendis totam, ducimus incidunt dolore aut, quae quaerat architecto quisquam repudiandae amet nostrum quidem?",
          seeing: 2000,
          talking: 200,
          auther: {
            autherImg:
              "https://gimg2.baidu.com/image_search/src=http%3A%2F%2Fimg.wangyunw.com%2Ffile%2F20170324%2Fimages%2F63918611ly1fdoygy62ydj20b40b43yj.jpg&refer=http%3A%2F%2Fimg.wangyunw.com&app=2002&size=f9999,10000&q=a80&n=0&g=0n&fmt=jpeg?sec=1645696478&t=96c4eecc42d8315657b21207fb96d0c5",
            autherName: "skygray",
          },
        },
      ],
    };
  },
  mounted() {},
  computed: {},
  methods: {
    //贴合滑动
    handleScrolls(e) {},
  },
  watch: {},
};
</script>

<style scoped>
.index {
  transition: all 0.8s ease;
}
</style>